{{include file="default/Public/header.html"}}
<form method="post" action="{{U url='fcontent/add?dosubmit=1'}}">
<div id="pageTop">
<div class="tabs">
<ul>
	<li><a href='#' class="selected" rel="tabsContent1"><span>基本信息</span></a></li>
	<li><a href='#' rel="tabsContent2"><span>高级选项</span></a></li>
</ul>
</div>
</div>
<div id="pageCo">
<div class="manageForm">
<table cellpadding="0" cellspacing="0" class="tabcontent" id="tabsContent{{$id}}" {{if $id>1}} style="display:none"{{/if}}>
	<tbody>
		{{if $cat.catid==30 || $cat.catid==31 || $cat.catid==32}}
		<tr>
			<th width="150">所在地区<span></span></th>
			<td>
				<input type="hidden" id="demo3" name="info[diqu]" readonly="readonly" class="input" value="" />
				<script>$("#demo3").chinaprovinces({align:'left'});</script>
			</td>
		</tr>
		{{/if}}
		</tbody>
</table>
{{foreach from=$form_data item=card key=id}}
<table cellpadding="0" cellspacing="0" class="tabcontent" id="tabsContent{{$id}}" {{if $id>1}} style="display:none"{{/if}}>
	<tbody>
		{{foreach from=$card item=v}}
		<tr>
			<th width="150">{{$v.name}}<span>{{$v.tips}}</span></th>
			<td>{{$v.form}}</td>
		</tr>
		{{/foreach}}
	</tbody>
</table>
{{/foreach}}
<table cellpadding="0" cellspacing="0">
	<tfoot>
		<tr>
			<th width="150">&nbsp;</th>
			<td><label class="btn"><input type="submit"
				name="submit" value="确定保存" class="submit" /></label></td>
		</tr>
	</tfoot>
</table>
</div>
</div>
<input type="hidden" name="forward" value="{{$forward}}" /> <input
	type="hidden" name="catid" id="catid" value="{{$cat.catid}}" /> <input
	type="hidden" name="info[action]" id="action" value="show" /></form>
{{include file="default/Public/footer.html"}}
